The source code to the JavaScript Interpreter supplied herewith has been changed as follows on or prior to February 22, 2013:


Produced: 22/02/2013 09:00:00
   
Mode:  Just Mismatches  
Left base folder: C:\Flash_Diffs\Javascript_18RC  
Right base folder: C:\Flash_Diffs\Javascript_18RC_Flash  
Left Side Newer Files Modified
Right Side Newer Files Modified
js.c 07-05-2011 01:23:57
jsapi.c 07-05-2011 01:23:57
jsapi.h 30-05-2012 03:05:47
  07-05-2011 01:23:57
jscpucfg.h 07-05-2011 01:23:57
jsdtracef.h 07-05-2011 01:23:57
jsgc.c 07-05-2011 01:23:57
jsgc.h 07-05-2011 01:23:57
jshash.c 07-05-2011 01:23:57
jsinterp.c 07-05-2011 01:23:57
jsotypes.c 07-05-2011 01:23:57
jsprf.c 07-05-2011 01:23:57
jsregexp.c 07-05-2011 01:23:57
jsregexp.h 07-05-2011 01:23:57
jsstr.c 07-05-2011 01:23:57
jstypes.h 07-05-2011 01:23:57
jsutil.c 07-05-2011 01:23:57
Makefile.ref 07-05-2011 01:23:57
prmjtime.c 10-05-2011 05:55:01
  07-05-2011 01:23:57
Left Side Orphans Modified
Right Side Orphans Modified
DW_decls.h 07-05-2011 01:23:57
jsautokw.h 07-05-2011 01:23:57
stdafx.h 07-05-2011 01:23:57
Contents Differ Modified




Left file: C:\Flash_Diffs\Javascript_18RC\js.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\js.c  
2041 intN mode = 1; <> 2041 int32 mode = 1;




Left file: C:\Flash_Diffs\Javascript_18RC\jsapi.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsapi.c  
    -+ 134 JS_PUBLIC_API(JSBool)
      135 JS_DoubleIsNaN(jsdouble n)
      136 {
      137     return JSDOUBLE_IS_NaN(n);
      138 }
 
5824 #if !defined(STATIC_JS_API) && defined(XP_WIN) <> 5831 #if defined(XP_WIN)
 
    -+ 5845 #ifdef _WIN32
      5846 #ifdef _WINDLL
      5847 #ifndef FEATURE_PROC_MODELING
 
    -+ 5852 #endif
 
    -+ 5854 #else
      5856 int CALLBACK LibMain( HINSTANCE hInst, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine ) n)
      5858 {
      5859     return TRUE;
      5860 }
      5862 BOOL CALLBACK __loadds WEP(BOOL fSystemExit) n)
      5863 {
      5864     return TRUE;
      5865 #endif
      5867 #endif
      5868 }




Left file: C:\Flash_Diffs\Javascript_18RC\jsapi.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsapi.h  
    -+ 242 extern JS_PUBLIC_API(JSBool)
    -+ 243 JS_DoubleIsNaN(jsdouble n);
732 extern JS_PUBLIC_API(JSBool) -+    
733 JS_AddRoot(JSContext *cx, void *rp);      
 
737 #define JS_DEFINE_TO_STRING(def) JS_DEFINE_TO_TOKEN(def) <> 738 #define JS_TOKEN_TO_STRING(def) JS_DEFINE_TO_TOKEN(def)
738 #define JS_AddRoot(cx,rp) JS_AddNamedRoot((cx), (rp), (__FILE__ ":" JS_TOKEN_TO_STRING(__LINE__))   739 #define JS_AddRoot(cx,rp) JS_AddNamedRoot((cx), (rp), (__FILE__ ":" JS_TOKEN_TO_STRING(__LINE__)))
      740 #else
      741 extern JS_PUBLIC_API(JSBool)
      742 JS_AddRoot(JSContext *cx, void *rp);




Left file: C:\Flash_Diffs\Javascript_18RC\jscpucfg.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jscpucfg.h  
    -+ 198 #elif defined(XP_UNIVERSAL_MAC)
      199 #undef IS_LITTLE_ENDIAN
      200 #undef IS_BIG_ENDIAN
      201 #if defined(__LITTLE_ENDIAN__)
      202    #define IS_LITTLE_ENDIAN 1
      203 #else
      204    #define IS_BIG_ENDIAN 1
      205 #endif
 
    -+ 207 #ifdef __LP64__
      208 // Mac x86_64
 
    -+ 210 #define HAVE_VA_LIST_AS_ARRAY
 
    -+ 212 #define JS_BYTES_PER_BYTE 1L
      213 #define JS_BYTES_PER_SHORT 2L
      214 #define JS_BYTES_PER_INT 4L
      215 #define JS_BYTES_PER_INT64 8L
      216 #define JS_BYTES_PER_LONG 8L
      217 #define JS_BYTES_PER_FLOAT 4L
      218 #define JS_BYTES_PER_DOUBLE 8L
      219 #define JS_BYTES_PER_WORD 8L
      220 #define JS_BYTES_PER_DWORD 8L
 
    -+ 222 #define JS_BITS_PER_BYTE 8L
      223 #define JS_BITS_PER_SHORT 16L
      224 #define JS_BITS_PER_INT 32L
      225 #define JS_BITS_PER_INT64 64L
      226 #define JS_BITS_PER_LONG 64L
      227 #define JS_BITS_PER_FLOAT 32L
      228 #define JS_BITS_PER_DOUBLE 64L
      229 #define JS_BITS_PER_WORD 64L
 
    -+ 231 #define JS_BITS_PER_BYTE_LOG2 3L
      232 #define JS_BITS_PER_SHORT_LOG2 4L
      233 #define JS_BITS_PER_INT_LOG2 5L
      234 #define JS_BITS_PER_INT64_LOG2 6L
      235 #define JS_BITS_PER_LONG_LOG2 6L
      236 #define JS_BITS_PER_FLOAT_LOG2 5L
      237 #define JS_BITS_PER_DOUBLE_LOG2 6L
      238 #define JS_BITS_PER_WORD_LOG2 6L
 
    -+ 240 #define JS_ALIGN_OF_SHORT 2L
      241 #define JS_ALIGN_OF_INT 4L
      242 #define JS_ALIGN_OF_LONG 8L
      243 #define JS_ALIGN_OF_INT64 8L
      244 #define JS_ALIGN_OF_FLOAT 4L
      245 #define JS_ALIGN_OF_DOUBLE 8L
      246 #define JS_ALIGN_OF_POINTER 8L
      247 #define JS_ALIGN_OF_WORD 8L
 
    -+ 249 #define JS_BYTES_PER_WORD_LOG2 3
      250 #define JS_BYTES_PER_DWORD_LOG2 3L
      251 #define JS_WORDS_PER_DWORD_LOG2 0L
 
    -+ 253 #define JS_STACK_GROWTH_DIRECTION (-1)
 
    -+ 255 #else
 
    -+ 257 #define JS_BYTES_PER_BYTE 1L
      258 #define JS_BYTES_PER_SHORT 2L
      259 #define JS_BYTES_PER_INT 4L
      260 #define JS_BYTES_PER_INT64 8L
      261 #define JS_BYTES_PER_LONG 4L
      262 #define JS_BYTES_PER_FLOAT 4L
      263 #define JS_BYTES_PER_DOUBLE 8L
      264 #define JS_BYTES_PER_WORD 4L
      265 #define JS_BYTES_PER_DWORD 8L
 
    -+ 267 #define JS_BITS_PER_BYTE 8L
      268 #define JS_BITS_PER_SHORT 16L
      269 #define JS_BITS_PER_INT 32L
      270 #define JS_BITS_PER_INT64 64L
      271 #define JS_BITS_PER_LONG 32L
      272 #define JS_BITS_PER_FLOAT 32L
      273 #define JS_BITS_PER_DOUBLE 64L
      274 #define JS_BITS_PER_WORD 32L
 
    -+ 276 #define JS_BITS_PER_BYTE_LOG2 3L
      277 #define JS_BITS_PER_SHORT_LOG2 4L
      278 #define JS_BITS_PER_INT_LOG2 5L
      279 #define JS_BITS_PER_INT64_LOG2 6L
      280 #define JS_BITS_PER_LONG_LOG2 5L
      281 #define JS_BITS_PER_FLOAT_LOG2 5L
      282 #define JS_BITS_PER_DOUBLE_LOG2 6L
      283 #define JS_BITS_PER_WORD_LOG2 5L
 
    -+ 285 #define JS_ALIGN_OF_SHORT 2L
      286 #define JS_ALIGN_OF_INT 4L
      287 #define JS_ALIGN_OF_LONG 4L
      288 #define JS_ALIGN_OF_INT64 4L
      289 #define JS_ALIGN_OF_FLOAT 4L
      290 #define JS_ALIGN_OF_DOUBLE 4L
      291 #define JS_ALIGN_OF_POINTER 4L
      292 #define JS_ALIGN_OF_WORD 4L
 
    -+ 294 #define JS_BYTES_PER_WORD_LOG2 2L
      295 #define JS_BYTES_PER_DWORD_LOG2 3L
      296 #define JS_WORDS_PER_DWORD_LOG2 1L
      297 #endif




Left file: C:\Flash_Diffs\Javascript_18RC\jsdtracef.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsdtracef.h  
36 #include "javascript-trace.h" <> 1046 //#include "javascript-trace.h"




Left file: C:\Flash_Diffs\Javascript_18RC\jsgc.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsgc.c  
    -+ 2956 void
      2957 js_ForceGC(JSContext *cx, uintN gcflags)
      2958 {
      2959     uintN i;
      2961     for (i = 0; i < GCX_NTYPES; i++)
      2962        cx->weakRoots.newborn[i] = NULL;
      2963     cx->weakRoots.lastAtom = JSVAL_NULL;
      2964     cx->runtime->gcPoke = JS_TRUE;
      2965     js_GC(cx, gcflags);
      2966     JS_ArenaFinish();
      2967 }




Left file: C:\Flash_Diffs\Javascript_18RC\jsgc.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsgc.h  
    -+ 297 extern void
    -+ 298 js_ForceGC(JSContext *cx, uintN gcflags);
 
342 JS_STATIC_ASSERT(JSVAL_NULL == 0); <> 346 // JS_STATIC_ASSERT(JSVAL_NULL == 0);




Left file: C:\Flash_Diffs\Javascript_18RC\jshash.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jshash.c  
109 if ((int32)n < 0) <> 114 {
110 return NULL;   115    int32 sn = (int32)n;
      117    if (sn < 0)
      118       return NULL;
      119 }




Left file: C:\Flash_Diffs\Javascript_18RC\jsinterp.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsinterp.c  
    -+ 1936 #define FEATURE_PROC_MODELING 1
 
    -+ 1938 #ifdef FEATURE_PROC_MODELING
 
    -+ 1940 JSBool gEnableProceduralModeling = JS_TRUE;
 
    -+ 1943 JSBool js_CheckIfMethodExists (JSContext *cx, JSObject *obj, const char *name)
      1944 {
      1945     jsval fval;
 
    -+ 1947 #if JS_HAS_XML_SUPPORT
      1948     if (OBJECT_IS_XML(cx, obj)) {
 
    -+ 1950         return JS_FALSE;
      1951     } else
      1952 #endif
      1953     if (!JS_GetProperty(cx, obj, name, &fval))
      1954         return JS_FALSE;
 
    -+ 1956     return JSVAL_IS_OBJECT (fval);
      1957 }
 
    -+ 1959 #endif
 
    -+ 3573 #if FEATURE_PROC_MODELING
 
    -+ 3575             if (gEnableProceduralModeling)
      3576             {
      3577             rval = FETCH_OPND(-1);
      3578             lval = FETCH_OPND(-2);
      3579             if ((lval && (cond = JSVAL_IS_OBJECT(lval))) || (rval && JSVAL_IS_OBJECT(rval)))
      3580             {
      3581                 static const char name[] = "Equal";
      3582                 jsval retVal;
      3583                 jsval *saveStack = fp->spbase;
      3584                 fp->spbase = 0; // will force allocation of new stack
      3585                 if (cond)
      3586                 {
      3587                     if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name))
      3588                         ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal);
      3589                     else
      3590                         ok = JS_FALSE;
      3591                 }
      3592                 else
      3593                 {
      3594                     if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(rval), name))
      3595                         ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(rval), name, 1 /* argc */, &lval, &retVal);
      3596                     else
      3597                         ok = JS_FALSE;
      3598                 }
      3599                 if (fp->spbase)
      3600                     js_FreeRawStack (cx, fp->spbase);
      3601                 fp->spbase = saveStack;
      3602                 if (ok)
      3603                 {
      3604                     sp--;
      3605                     STORE_OPND(-1, retVal);
      3606                     break;
      3607                 }
 
    -+ 3609             }
      3610             } //gEnableProceduralModeling
 
    -+ 3612 #endif
 
    -+ 3733 #if FEATURE_PROC_MODELING
 
    -+ 3735             if (gEnableProceduralModeling)
      3736             {
      3737             if ((lval && (cond = JSVAL_IS_OBJECT(lval))) || (rval && JSVAL_IS_OBJECT(rval)))
      3738             {
      3739                 static const char name[] = "plus";
      3740                 jsval retVal;
      3741                 jsval *saveStack = fp->spbase;
      3742                 fp->spbase = 0; // will force allocation of new stack
      3743                 if (cond)
      3744                 {
      3745                     if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name))
      3746                         ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal);
      3747                     else
      3748                         ok = JS_FALSE;
      3749                 }
      3750                 else
      3751                 {
      3752                     if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(rval), name))
      3753                         ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(rval), name, 1 /* argc */, &lval, &retVal);
      3754                     else
      3755                         ok = JS_FALSE;
      3756                 }
      3757                 if (fp->spbase)
      3758                     js_FreeRawStack (cx, fp->spbase);
      3759                 fp->spbase = saveStack;
      3760                 if (ok)
      3761                 {
      3762                     sp--;
      3763                     STORE_OPND(-1, retVal);
      3764                     break;
      3765                 }
 
    -+ 3767             }
      3768             } //gEnableProceduralModeling
 
    -+ 3770 #endif
 
    -+ 3828 #if FEATURE_PROC_MODELING
 
    -+ 3830             if (gEnableProceduralModeling)
      3831             {
      3832             rval = FETCH_OPND(-1);
      3833             lval = FETCH_OPND(-2);
      3834             if (lval && JSVAL_IS_OBJECT(lval))
      3835             {
 
    -+ 3838                 static const char name[] = "minus";
      3839                 jsval retVal;
      3840                 jsval *saveStack = fp->spbase;
      3841                 fp->spbase = 0; // will force allocation of new stack
      3842                 if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name))
      3843                     ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal);
      3844                 else
      3845                     ok = JS_FALSE;
      3846                 if (fp->spbase)
      3847                     js_FreeRawStack (cx, fp->spbase);
      3848                 fp->spbase = saveStack;
      3849                 if (ok)
      3850                 {
      3851                     sp--;
      3852                     STORE_OPND(-1, retVal);
      3853                     break;
      3854                 }
 
    -+ 3856             }
      3857             } //gEnableProceduralModeling
 
    -+ 3859 #endif
 
    -+ 3864 #if FEATURE_PROC_MODELING
 
    -+ 3866             if (gEnableProceduralModeling)
      3867             {
      3868             rval = FETCH_OPND(-1);
      3869             lval = FETCH_OPND(-2);
      3870             if ((lval && (cond = JSVAL_IS_OBJECT(lval))) || (rval && JSVAL_IS_OBJECT(rval)))
      3871             {
      3872                 static const char name[] = "multiply";
      3873                 jsval retVal;
      3874                 jsval *saveStack = fp->spbase;
      3875                 fp->spbase = 0; // will force allocation of new stack
      3876                 if (cond)
      3877                 {
      3878                     if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name))
      3879                         ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal);
      3880                     else
      3881                         ok = JS_FALSE;
      3882                 }
      3883                 else
      3884                 {
      3885                     if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(rval), name))
      3886                         ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(rval), name, 1 /* argc */, &lval, &retVal);
      3887                     else
      3888                         ok = JS_FALSE;
      3889                 }
      3890                 if (fp->spbase)
      3891                     js_FreeRawStack (cx, fp->spbase);
      3892                 fp->spbase = saveStack;
      3893                 if (ok)
      3894                 {
      3895                     sp--;
      3896                     STORE_OPND(-1, retVal);
      3897                     break;
      3898                 }
 
    -+ 3900             }
      3901             } //gEnableProceduralModeling
 
    -+ 3903 #endif
 
    -+ 3908 #if FEATURE_PROC_MODELING
 
    -+ 3910             if (gEnableProceduralModeling)
      3911             {
      3912             rval = FETCH_OPND(-1);
      3913             lval = FETCH_OPND(-2);
      3914             if (lval && JSVAL_IS_OBJECT(lval))
      3915             {
 
    -+ 3918                 static const char name[] = "divide";
      3919                 jsval retVal;
      3920                 jsval *saveStack = fp->spbase;
      3921                 fp->spbase = 0; // will force allocation of new stack
      3922                 if (js_CheckIfMethodExists (cx, JSVAL_TO_OBJECT(lval), name))
      3923                     ok = JS_CallFunctionName (cx, JSVAL_TO_OBJECT(lval), name, 1 /* argc */, &rval, &retVal);
      3924                 else
      3925                     ok = JS_FALSE;
      3926                 if (fp->spbase)
      3927                     js_FreeRawStack (cx, fp->spbase);
      3928                 fp->spbase = saveStack;
      3929                 if (ok)
      3930                 {
      3931                     sp--;
      3932                     STORE_OPND(-1, retVal);
      3933                     break;
      3934                 }
 
    -+ 3936             }
      3937             } //gEnableProceduralModeling
 
    -+ 3939 #endif




Left file: C:\Flash_Diffs\Javascript_18RC\jsotypes.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsotypes.h  
70 #ifdef XP_UNIX <> 73 #if defined(XP_UNIX) || defined (__MACH__)
 
    -+ 78 typedef JSUintn uintn;
      79 typedef JSUint64 uint64;
 
76 typedef JSUintn uintn; <> 82 //typedef JSUintn uintn;
77 typedef JSUint64 uint64;   83 //typedef JSUint64 uint64;
 
81 typedef unsigned long uint32; <> 88 #if defined(_MAC) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
      89    typedef unsigned int uint32;
      90 #else
      91    typedef unsigned long uint32;
      92 #endif
 
105 #if !defined(_WIN32) && !defined(XP_OS2) <> 117 #if !defined(_WIN32) && !defined(XP_OS2) && !defined(XP_UNIVERSAL_MAC)
 
108 typedef long int32; <> 120 #if defined(_MAC) && MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
      121    typedef int int32;
      122 #else
      123    typedef long int32;
      124 #endif




Left file: C:\Flash_Diffs\Javascript_18RC\jsprf.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsprf.c  
    -+ 61 #elif defined(va_copy)
      62 #define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)




Left file: C:\Flash_Diffs\Javascript_18RC\jsregexp.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsregexp.c  
3532                 ok = js_DefineProperty(cx, obj, INT_TO_JSID(num + 1), <> 3538                // ok = js_DefineProperty(cx, obj, INT_TO_JSID(num + 1),
3533                                        JSVAL_VOID, NULL, NULL,   3539                //                      JSVAL_VOID, NULL, NULL,
3534                                        JSPROP_ENUMERATE, NULL);   3540                //                     JSPROP_ENUMERATE, NULL);
      3541                 parstr = JSVAL_TO_STRING(JS_GetEmptyStringValue(cx));
 
    -+ 3545             }
 
3547             } <> 3555             //}
 
3754         sub = REGEXP_PAREN_SUBSTRING(res, slot); <> 3766         sub = js_RegExpParenSubString(res, slot);
 
    -+ 4378 JSRegExpStatics *
      4379 js_GetRegExpStatics(JSContext *cx)
      4380 {
      4381     return &(cx->regExpStatics);
      4382 }
 
    -+ 4385 JSSubString *
      4386 js_RegExpParenSubString(JSRegExpStatics *res, jsuint num)
      4387 {
      4388     JSSubString *ret = NULL;
 
    -+ 4390     if (num < (jsuint)(res->parenCount))
      4391     {
      4392         if (num < 9)
      4393         {
      4394             ret = &(res->parens[num]);
      4395         }
      4396         else
      4397         {
      4398             ret = &(res->moreParens[num - 9]);
      4399         }
      4400     }
      4401     else
      4402     {
      4403         ret = &js_EmptySubString;
      4404     }
 
    -+ 4406     return ret;
      4407 }




Left file: C:\Flash_Diffs\Javascript_18RC\jsregexp.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsregexp.h  
98 #define REGEXP_PAREN_SUBSTRING(res, num) <> 105 extern JSSubString *
99    (((jsuint)(num) < (jsuint)(res)->parenCount)   106 js_RegExpParenSubString(JSRegExpStatics *res, jsuint num);
100    ? ((jsuint)(num) < 9)      
101     ? &(res)->parens[num]      
102     : &(res)->moreParens[(num) - 9]      
103    : &js_EmptySubString)      
 
    -+ 205 extern JSRegExpStatics *
      206 js_GetRegExpStatics(JSContext *cx);




Left file: C:\Flash_Diffs\Javascript_18RC\jsstr.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsstr.c  
1358         return REGEXP_PAREN_SUBSTRING(res, num); <> 1358           // DREAMWEAVER: replacing REGEXP_PAREN_SUBSTRING with js_RegExpParenSubString
 
    -+ 1360         return js_RegExpParenSubString(res, num);
 
1872                     parsub = REGEXP_PAREN_SUBSTRING(&cx->regExpStatics, num); <> 1874             // DREAMWEAVER: replacing REGEXP_PAREN_SUBSTRING with js_RegExpParenSubString
 
    -+ 1876                     parsub = js_RegExpParenSubString(&cx->regExpStatics, num);
 
    -+ 2537 void printJSStringStats(JSRuntime *rt);




Left file: C:\Flash_Diffs\Javascript_18RC\jstypes.h  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jstypes.h  
    -+ 69 #if defined(_MAC) && defined(WIN32)
      70 #define WIN32 0
      71 #endif
 
    -+ 73 #if WIN32
      74 #define XP_WIN 1
      75 #else
      76 #define XP_UNIVERSAL_MAC 1
      77 #endif
 
82  #define JS_EXTERN_API(__type) extern __declspec(dllexport) __type <> 102  #define JS_EXTERN_API(__type) extern __type
83  #define JS_EXPORT_API(__type) __declspec(dllexport) __type   103  #define JS_EXPORT_API(__type) __type
84  #define JS_EXTERN_DATA(__type) extern __declspec(dllexport) __type   104  #define JS_EXTERN_DATA(__type) extern __type
85  #define JS_EXPORT_DATA(__type) __declspec(dllexport) __type   105  #define JS_EXPORT_DATA(__type) __type
 
90 #elif defined(XP_OS2) && defined(__declspec) <> 110 #elif defined(WIN16)
91     111  
92 # define JS_EXTERN_API(__type) extern __declspec(dllexport) __type   112 #ifdef _WINDLL
93 # define JS_EXPORT_API(__type) __declspec(dllexport) __type   113 #define JS_EXTERN_API(__type) extern __type _cdecl _export _loadds
94 # define JS_EXTERN_DATA(__type) extern __declspec(dllexport) __type   114 #define JS_EXPORT_API(__type) __type _cdecl _export _loadds
95 # define JS_EXPORT_DATA(__type) __declspec(dllexport) __type   115 #define JS_EXTERN_DATA(__type) extern __type _export
96     116 #define JS_EXPORT_DATA(__type) __type _export
97 # define JS_DLL_CALLBACK   117  
98 # define JS_STATIC_DLL_CALLBACK(__x) static __x   118 #define JS_DLL_CALLBACK __cdecl __loadds
      119 #define JS_STATIC_DLL_CALLBACK(__x) static __x CALLBACK
      120  
      121 #else /* this must be .EXE */
      122 #define JS_EXTERN_API(__type) extern __type _cdecl _export
      123 #define JS_EXPORT_API(__type) __type _cdecl _export
      124 #define JS_EXTERN_DATA(__type) extern __type _export
      125 #define JS_EXPORT_DATA(__type) __type _export
      126  
      127 #define JS_DLL_CALLBACK __cdecl __loadds
      128 #define JS_STATIC_DLL_CALLBACK(__x) __x JS_DLL_CALLBACK
      129 #endif /* _WINDLL */
 
122 #    define JS_IMPORT_DATA(__x)      __declspec(dllimport) __x <> 154 #    define JS_IMPORT_DATA(__x)     __x
 
124 #elif defined(XP_OS2) && defined(__declspec) <>    
125 # define JS_IMPORT_API(__x) __declspec(dllimport) __x      
 
131 # define JS_IMPORT_DATA(__x) __declspec(dllimport) __x <> 161 #    define JS_IMPORT_DATA(__x)     __x
132 #elif defined(XP_OS2) && defined(__declspec)      
133 # define JS_IMPORT_DATA(__x) __declspec(dllimport)      
 
246 #if (defined(XP_WIN) && !defined(CROSS_COMPILE)) || defined (WINCE) <> 276 #if (defined(XP_WIN) && !defined(CROSS_COMPILE)) || defined (WINCE) || defined(XP_UNIVERSAL_MAC)
 
    -+ 280 # include "jsosdep.h"




Left file: C:\Flash_Diffs\Javascript_18RC\jsutil.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\jsutil.c  
59     exit(3); <> 60 //    exit(3);
60 #elif defined(XP_OS2) || (defined(__GNUC__) && defined(__i386)) <> 62 #elif defined(XP_OS2)
 
64     abort(); <> 66 //    abort();




Left file: C:\Flash_Diffs\Javascript_18RC\Makefile.ref  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\Makefile.ref  
    -+ 50 DEFINES += XP_UNIX




Left file: C:\Flash_Diffs\Javascript_18RC\prmjtime.c  
Right file: C:\Flash_Diffs\Javascript_18RC_Flash\prmjtime.c  
62 #include <windef.h> <> 69 #include <windows.h>
63 #include <winbase.h>      
64 #include <math.h>      
65 #include <mmsystem.h>      
 
67 #if _MSC_VER >= 1400 && !defined(WINCE) -+    
68 #define NS_HAVE_INVALID_PARAMETER_HANDLER 1      
69 #endif      
70 #ifdef NS_HAVE_INVALID_PARAMETER_HANDLER      
71 #include <stdlib.h>      
72 #include <crtdbg.h>      
 
75 #ifdef JS_THREADSAFE <>    
76 #include <prinit.h>      
77 #endif      
 
79 #endif -+    
 
81 #if defined(XP_UNIX) || defined(XP_BEOS) <> 73 #if defined(XP_UNIX) || defined(XP_BEOS) || defined(XP_UNIVERSAL_MAC)
 
191 timeBeginPeriod(1); <> 194 //timeBeginPeriod(1);
 
196 timeEndPeriod(1); <> 200 //timeEndPeriod(1);
 
348 #if defined(XP_UNIX) || defined(XP_BEOS) <> 345 #if defined(XP_UNIX) || defined(XP_BEOS) || defined(XP_UNIVERSAL_MAC)
 
493 #if defined(XP_UNIX) || defined(XP_BEOS) <> 490 #if defined(XP_UNIX) || defined(XP_BEOS) || defined(XP_UNIVERSAL_MAC)
 
578 #if defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS) <> 576 #if defined(XP_UNIX) || defined(XP_WIN) || defined(XP_OS2) || defined(XP_BEOS) || defined(XP_UNIVERSAL_MAC)